jQuery.ajaxFn=function(url, data, successfn, errorfn, async, type, dataType) {
		async = (async==null || async=="" || typeof(async)=="undefined")? "true" : async;
		type = (type==null || type=="" || typeof(type)=="undefined")? "post" : type;
		dataType = (dataType==null || dataType=="" || typeof(dataType)=="undefined")? "json" : dataType;
		data = (data==null || data=="" || typeof(data)=="undefined")? {"date": new Date().getTime()} : data;
		$.ajax({
				type: type,
				async: async,
				data: data,
				url: url,
				dataType: dataType,
				success: function(d){
						successfn(d);
				},
				error: function(e){
						errorfn(e);
				}
		});
};